home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #2
/
Monster Media No. 2 (Monster Media)(1994).ISO
/
pcboard
/
pnode_13.zip
/
PNODE.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-04-17
|
2KB
|
199 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
String STRING012
String STRING013
String STRING014
String STRING015
String STRING016
String STRING017
String STRING018
;------------------------------------------------------------------------------
INTEGER002 = 1
:LABEL001
If (Exist(PPEPath() + "PNODE.CNF")) Then
FOpen INTEGER002, PPEPath() + "PNODE.CNF", 0, 0
If (Ferr(INTEGER002)) Then
INTEGER002 = INTEGER002 + 1
Goto LABEL001
Endif
FGet INTEGER002, INTEGER001
FGet INTEGER002, STRING003
STRING001 = PcbNode()
If (STRING001 <> Left(STRING003, 1)) Then
FClose INTEGER002
End
Endif
FGet INTEGER002, STRING002
FGet INTEGER002, STRING006
FGet INTEGER002, STRING007
FGet INTEGER002, STRING011
FGet INTEGER002, STRING012
FGet INTEGER002, STRING015
FGet INTEGER002, STRING016
FClose INTEGER002
STRING008 = Strip(STRING006, ":")
STRING009 = Strip(STRING007, ":")
STRING013 = Strip(STRING011, ":")
STRING014 = Strip(STRING012, ":")
STRING017 = Strip(STRING015, ":")
STRING018 = Strip(STRING016, ":")
STRING010 = Strip(Time(), ":")
If (Upper(Left(STRING008, 6)) == "ALWAYS") Goto LABEL002
If ((STRING010 >= STRING008) && (STRING010 < STRING009)) Goto LABEL002
If ((STRING010 >= STRING013) && (STRING010 < STRING014)) Goto LABEL002
If ((STRING010 >= STRING017) && (STRING010 < STRING018)) Goto LABEL002
Goto LABEL003
:LABEL002
GetUser
Gosub LABEL005
STRING001 = PcbNode()
If (STRING001 == Left(STRING003, 1)) Then
If (U_Sec >= INTEGER001) Goto LABEL003
Cls
DispFile PPEPath() + STRING002, 1
PrintLn
PrintLn " @X08Private Node @X0Fv1.3 @X08/ Coded by: @X0FCode 3 @X08/ A @X02GRiPPE @X08release"
Delay 10
Hangup
End
Goto LABEL004
Endif
:LABEL003
FClose INTEGER002
:LABEL004
End
:LABEL005
If (!Exist(PPEPath() + "PNUSER.")) Return
FOpen INTEGER002, PPEPath() + "PNUSER.", 0, 0
If (Ferr(INTEGER002)) Then
INTEGER002 = INTEGER002 + 1
Goto LABEL005
Endif
FGet INTEGER002, STRING005
FGet INTEGER002, INTEGER003
INTEGER004 = INTEGER003
INTEGER003 = 0
While (INTEGER003 <> INTEGER004) Do
Inc INTEGER003
FGet INTEGER002, STRING004
If ((Upper(Left(STRING005, 1)) == "N") && (Upper(STRING004) == U_Name())) Goto LABEL006
If ((Upper(Left(STRING005, 1)) == "Y") && (Upper(STRING004) == U_Name())) End
EndWhile
FClose INTEGER002
Return
:LABEL006
Cls
DispFile PPEPath() + STRING002, 1
PrintLn
PrintLn " @X08Private Node @X0Fv1.3 @X08/ Coded by: @X0FCode 3 @X08/ A @X02GRiPPE @X08release"
Delay 10
Hangup
End
Endif
PrintLn
PrintLn "@X0C ERROR!@X0B PNODE Config File Is Missing. @X0AExiting. "
PrintLn
PrintLn
PrintLn
Wait
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 6 End
; 2 Cls
; 1 Wait
; 17 Goto
; 14 Let
; 9 PrintLn
; 14 If
; 2 DispFile
; 2 FOpen
; 4 FClose
; 12 FGet
; 2 Hangup
; 1 GetUser
; 1 Gosub
; 2 Return
; 2 Delay
; 1 Inc
;
;
; ■ Functions used :
;
; 8 +
; 6 ==
; 2 <>
; 3 <
; 4 >=
; 7 !
; 5 &&
; 5 Upper()
; 5 Left()
; 2 Ferr()
; 1 Time()
; 2 U_Name()
; 7 Strip()
; 6 PPEPath()
; 2 PcbNode()
; 2 Exist()
;
;------------------------------------------------------------------------------
;
; Analysis flags : B
;
; B - Brute hangup ■ 1
; Program hangup without notification. This may be a good way to
; disconnect a user, but if used randomly, may be very nasty
; ■ Search for : HANGUP, DTROFF
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 1 While/EndWhile
; 5 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------